<!DOCTYPE html>
<svg>
    <defs>
        <rect id="rect" width="100" height="100" visibility="visible"/>
        <clipPath id="clipClip">
            <rect width="100" height="100"/>
        </clipPath>
        <clipPath id="clip" clip-path="url(#clipClip)">
            <use visibility="hidden" xlink:href="#rect"/>
        </clipPath>
    </defs>
    <rect height="400" width="400" fill="green" clip-path="url(#clip)"/>
</svg>
